]> dgit.raspbian.org Git - gnome-shell.git/commit
Use a separate icon image as a drag actor instead of using the clone of the icon
authorMarina Zhurakhinskaya <marinaz@redhat.com>
Mon, 29 Jun 2009 19:08:48 +0000 (15:08 -0400)
committerColin Walters <walters@verbum.org>
Tue, 30 Jun 2009 20:42:00 +0000 (16:42 -0400)
commitdb52e024e8fabfec94b66031e161c27557c447ec
treebe816c854f80378dcae7cf5ddedca56c724d897d
parent79c166c38dd36bda3a4de54e64ecfd0def5da2ca
Use a separate icon image as a drag actor instead of using the clone of the icon

Clutter no longer allows using a clone of an actor that is not a part of
the scene graph. This is what used to happen when we created a clone for
the icon of the item that was being dragged, and then closed the More panes
with the original item, removing the icon from the scene graph. This was
also when happened when the user hit Esc while dragging, which prompted the
overlay to close, removing the original icon from the scene graph.

Rename getIcon() methods to createIcon() to better reflect on the fact that
a new icon is created each time the method is called (we do use cache in
some cases).

Remove a stray log message in overlay.js

Fixes http://bugzilla.gnome.org/show_bug.cgi?id=585490
and http://bugzilla.gnome.org/show_bug.cgi?id=585489
js/misc/appInfo.js
js/misc/docInfo.js
js/ui/appDisplay.js
js/ui/docDisplay.js
js/ui/genericDisplay.js
js/ui/overlay.js
js/ui/widget.js